package com.xjscrm.console.service.customer.role;

import com.xjscrm.common.entity.SysRole;
import com.xjscrm.console.param.BaseDto;
import com.xjscrm.console.param.role.SysRoleDto;
import com.xjscrm.console.param.role.SysRoleDtoQuery;
import com.xjscrm.console.param.role.SysRoleIdDto;

public interface RoleService {
    void addRole(SysRoleDto sysRoleDto);

    void updateRole(SysRoleDto sysRoleDto);

    Object getRoleList(SysRoleDtoQuery sysRoleDtoQuery);


    void deleRole(SysRoleDto sysRoleDto);

    Object getRoleDropdwon(BaseDto baseDto);

    Object findSysRoleInfo(SysRoleIdDto sysRoleIdDto);

    SysRole selectById(Long roleId, Long merId);

}
